home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -seriously_amiga- / misc / vinced / vincupdate / extras / stringsnip.readme < prev   
Text File  |  1999-04-19  |  10KB  |  301 lines

  1. Short:    Much better editing features in string gadgets
  2. Uploader: thor@einstein.math.tu-berlin.de
  3. Author:   thor@einstein.math.tu-berlin.de (Thomas Richter)
  4. Type:     util/sys
  5. Version:  2.02
  6. Requires: Os 2.04, optionally ViNCEd.
  7. _____________________________________________________________________________
  8.  
  9. New in release 2.02:
  10.  
  11.     - The NumLock function was erraneously bound to Alt-Ü on german
  12.       keyboards. Never thrust a Data-Becker book, especially when
  13.       looking up key-codes.
  14.  
  15. New in release 2.01.1:
  16.  
  17.     - Included a sample preferences file for those people that don't
  18.       read ReadMes. (-;
  19.  
  20. New in release 2.01:
  21.  
  22.     - Almost a complete rewrite, fully configurable with ViNCEd style
  23.       preferences (vnc.library required).
  24.     - Includes now TAB expansions and much more editor commands.
  25. _____________________________________________________________________________
  26.  
  27.  
  28. The following table shows the default configuration for string gadget hooks:
  29.  
  30. Alt+Cursor keys:    Move to beginning of next/previous word
  31. Alt+Ctrl+Cursor keys:    Move to beginning of next/previous path component
  32. Shift+Cursor keys:    Move to start/end of the contents.
  33. Alt+Cursor keys:    ditto.
  34. Alt+Del:        Clear the contents.
  35. Shift+Del:        ditto.
  36. ALT+Backspace:        Erase to the beginning of the word under the cursor
  37. Shift+Alt+Del:        Erase text behind the cursor
  38. Shift+Alt+BS:        Erase text before the cursor position
  39. Amiga+X:        Cut the contents of the gadget to the clipboard
  40. Amiga+C:        Copy the contents to the clipboard
  41. Amiga+V:        Insert the clipboard contents into the gadget
  42. Shift+Amiga+V:        Replace the string gadget contents by the clipboard
  43. Aniga+Q:        Undo-operation
  44. Ctrl+Tab:        TAB expansion
  45. Ctrl+Shift+Tab:        TAB expansion backwards
  46. Commodore-key:        Turn off the extended editing features temporary
  47.  
  48.  
  49. The configuration is, however, fully adjustable with the SetVNC program
  50. of the "ViNCEd" package, see below for details.
  51.  
  52. The TAB expansion is a "cut down" version of the ViNCEd style expansion
  53. mechanism without a double-TAB requester, without the complete command
  54. path search and without a TAB expansion cache.
  55. Please note that string gadget does not come with a "natural" directory the 
  56. TAB expansion should search in, hence the path to be expanded must be either
  57. absolute or relative to the boot volume, i.e. SYS:
  58.  
  59. (This file is actually a part of the ViNCEd distribution. See 
  60. util/shell/ViNCEd.lha for the complete archive).
  61.  
  62.  
  63. Installation:
  64.     Copy to your C: drawer.
  65.  
  66.     StringSnip install    To install the extended editing features
  67.     StringSnip remove    To remove it again.
  68.  
  69. Additionally:    
  70.     Copy the demo prefs file below to ENVARC:StringSnip.prefs and 
  71.     add the line
  72.  
  73.     StringSnip PREFS ENV:StringSnip.prefs INSTALL
  74. _____________________________________________________________________________
  75.  
  76. Extended options, full synopsis:
  77.  
  78. StringSnip INSTALL/S,REMOVE/S,PREFS/K,HELP/S
  79.  
  80.  
  81. INSTALL/S            Installs the enhanced string edit hook
  82.                 or replaces a previously installed 
  83.                 "StringSnip" copy.
  84.                 This is the default operation.
  85.  
  86. REMOVE/S            Remove the StringSnip hook.
  87.  
  88. PREFS/K                Specifies a file name where the preferences
  89.                 should be taken from. This is a text based
  90.                 ViNCEd-compatible preferences file. It
  91.                 should be created by the "SetVNC" program
  92.                 and should be placed somehwere in the ENV:
  93.                 drawer.
  94.                 THIS OPTION REQUIRES the vnc.library, i.e.
  95.                 ViNCEd must have been installed.
  96.  
  97. HELP/S                Prints a tiny overview about the command line
  98.                 options.
  99. _____________________________________________________________________________
  100.  
  101. The preferences file: 
  102.  
  103. It is recommended that you use the "SetVNC" program of the ViNCEd package
  104. to generate this file, as the vnc.library is required anyways to read it.
  105.  
  106. As last resort, an ASCII editor is enough to edit this file, though.
  107.  
  108. The file is a listing of options, followed by an "=" ("equals") sign,
  109. followed by the value you want to set the option to. This must be "on"
  110. or "off" for boolean options, a number for numerical or a key specification
  111. for the keyboard configuration options. Commands must be introduced by a
  112. semicolon.
  113.  
  114. Here's a list of the options that are meaningfull to StringSnip. The lines
  115. below could be cut out and written directly to a file, for example to
  116. ENVARC:StringSnip.prefs.
  117.  
  118. ___________cut here__________________________________________________________
  119.  
  120. WRAP=off        
  121. ;whether the TAB expansion wraps around or not.
  122.  
  123. ;TAB expansion settings:
  124. ;These are priorities how the list of found nodes are sorted and in
  125. ;which order they appear. The list of found matches can be cycled thru
  126. ;with the TAB expansion keys, as in ViNCEd.
  127.  
  128. TAB_FILE_PRI=0        
  129. ;priority of non-executable non-script files
  130. TAB_EXEC_PRI=2        
  131. ;priority of executables.
  132. TAB_SCRIPT_PRI=1    
  133. ;priority of script files.
  134. TAB_INFO_PRI=-10    
  135. ;priority of icons
  136. TAB_DEVICE_PRI=-2    
  137. ;of devices
  138. TAB_ASSIGN_PRI=-2    
  139. ;of assigns (logical devices)
  140. TAB_VOLUME_PRI=-2    
  141. ;of volume names
  142. TAB_DIRECTORY_PRI=3    
  143. ;of directories
  144. TAB_FULLEXPAND=off    
  145. ;should the first TAB expand the file completely?
  146.  
  147.  
  148. ;Keyboard:
  149. ;These are one or more qualifiers, i.e.
  150. ; Alt, Shift for either shift or alt key, RAmiga, LAmiga, RShift, LShift,
  151. ; RAlt, RAlt for the right/left modifier keys, "Num" if numlock is "on".
  152. ; The numlock is a special modifier that is toggled by an additional key
  153. ; to be set up here, it is completely unrelated to the "numeric keypad"
  154. ;and a key name, as "Left" "Right" for the cursor keys or
  155. ;a keyboard code, or an ASCII value enclosed in single quotes if the
  156. ;key should be matched on an ASCII string and not on a physical key.
  157. ;Details about this again in the ViNCEd guide.
  158. ;
  159. CURSOR_LEFT=Left
  160. CURSOR_RIGHT=Right        
  161. ;guess what...
  162. HALF_SCREEN_LEFT=Shift Left    
  163. ;moves one string gadget width
  164. HALF_SCREEN_RIGHT=Shift Right    
  165. ;to the left/right (not used by default)
  166. TO_LEFT_BORDER=Ctrl Left
  167. TO_RIGHT_BORDER=Ctrl Right    
  168. ;moves to the boundary
  169. PREV_WORD=Alt Left
  170. NEXT_WORD=Alt Right        
  171. ;moves word-wise
  172. PREV_COMPONENT=Ctrl Alt Left
  173. NEXT_COMPONENT=Ctrl Alt Right    
  174. ;moves path-component-wise
  175. CURSOR_LEFT=Num Num4
  176. CURSOR_RIGHT=Num Num6        
  177. ;more than one definition is allowed!
  178. TO_LEFT_BORDER=Ctrl Left
  179. TO_RIGHT_BORDER=Ctrl Right
  180. SEND_INPUTS=Return        
  181. ;completes the input
  182. INSERT_^J=Shift Alt Return    
  183. ;inserts a Ctrl-J.
  184. TAB_FORWARDS=Tab
  185. TAB_BACKWARDS=Shift Tab        
  186. ;TAB cycling
  187. EXPAND_PATH=Ctrl Tab
  188. EXPAND_BACKWARDS=Ctrl Shift Tab    
  189. ;TAB expansion
  190. DELETE_FORWARDS=Del        
  191. ;the "Delete" function
  192. DELETE_BACKWARDS=Backspace    
  193. ;the "Backspace" function
  194. DELETE_FULL_LINE=Shift Del    
  195. ;delete all
  196. DELETE_WORD_FWDS=Shift Backspace
  197. DELETE_WORD_BKWDS=Alt Backspace    
  198. ;one word, backwards
  199. DELETE_COMPONENT_FWDS=Ctrl Alt Del
  200. DELETE_COMPONENT_BKWDS=Ctrl Alt Backspace
  201. DELETE_END_OF_LINE=Shift Alt Del
  202. DELETE_START_OF_LINE=Shift Alt Backspace
  203. ;the next are the standard clipboard functions
  204. CUT=RAmiga x            
  205. COPY=RAmiga c
  206. PASTE=RAmiga v
  207. TOGGLE_NUMLOCK=Alt Num[        
  208. ;Num[ is the '[' key on the numpad, this toggles the NumLock qualifier.
  209. YANK=RAmiga q            
  210. ;this is the intuition style "undo"
  211. HELP=Help            
  212. ;the HELP function, if used by the program
  213. INSERT_CSI=Alt Esc        
  214. ;inserts 0x9B
  215. INSERT_ESC=Shift Esc        
  216. ;inserts 0x1B
  217.  
  218. _____________________________________________________________________________
  219.  
  220.                          The THOR-Software Licence (v2, 24th June 1998)
  221.  
  222.  
  223. This License applies to the computer program known as "StringSnip".
  224. The "Program", below, refers to such program. The "Archive" refers to the 
  225. package of distribution, as prepared by the author of the Program, 
  226. Thomas Richter. Each licensee is addressed as "you".
  227.  
  228.  
  229.  
  230. The Program and the data in the archive are freely distributable
  231. under the restrictions stated below, but are also Copyright (c)
  232. Thomas Richter.
  233.  
  234. Distribution of the Program, the Archive and the data in the Archive by a
  235. commercial organization without written permission from the author to any
  236. third party is prohibited if any payment is made in connection with such
  237. distribution, whether directly (as in payment for a copy of the Program) or
  238. indirectly (as in payment for some service related to the Program, or
  239. payment for some product or service that includes a copy of the Program
  240. "without charge"; these are only examples, and not an exhaustive enumeration
  241. of prohibited activities).
  242.  
  243.  
  244. However, the following methods of distribution
  245. involving payment shall not in and of themselves be a violation of this
  246. restriction:
  247.  
  248.  
  249. (i) Posting the Program on a public access information storage and
  250. retrieval service for which a fee is received for retrieving information
  251. (such as an on-line service), provided that the fee is not
  252. content-dependent (i.e., the fee would be the same for retrieving the same
  253. volume of information consisting of random data).
  254.  
  255.  
  256. (ii) Distributing the Program on a CD-ROM, provided that
  257.  
  258. a) the Archive is reproduced entirely and verbatim on such CD-ROM, including
  259. especially this licence agreement;
  260.  
  261. b) the CD-ROM is made available to the public for a nominal fee only,
  262.  
  263. c) a copy of the CD is made available to the author for free except for
  264. shipment costs, and
  265.  
  266. d) provided further that all information on such CD-ROM is redistributable
  267. for non-commercial purposes without charge.
  268.  
  269.  
  270. Redistribution of a modified version of the Archive, the Program or the
  271. contents of the Archive is prohibited in any way, by any organization,
  272. regardless whether commercial or non-commercial. Everything must be kept
  273. together, in original and unmodified form.
  274.  
  275.  
  276.  
  277.  
  278. Limitations.
  279.  
  280.  
  281. THE PROGRAM IS PROVIDED TO YOU "AS IS", WITHOUT WARRANTY. THERE IS NO
  282. WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
  283. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  284. PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
  285. RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
  286. THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  287. SERVICING, REPAIR OR CORRECTION.
  288.  
  289.  
  290. IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE THE PROGRAM, THE ARCHIVE
  291. AND ALL DATA OF THIS ARCHIVE FROM YOUR STORAGE SYSTEM. YOU ACCEPT THIS
  292. LICENCE BY USING OR REDISTRIBUTING THE PROGRAM.
  293.  
  294.  
  295.                                                         Thomas Richter
  296.  
  297. _____________________________________________________________________________
  298.  
  299. Thomas,
  300.     February 1999
  301.